package com.xcx.bo;

import java.io.Serializable;
import java.util.Date;

/**
 * calcu_skin_sound
 * @author 
 */
public class CalcuSkinSound implements Serializable {
    private String skinSoundNo;

    /**
     * 用户编号
     */
    private String userNo;

    /**
     * 声音编号
     */
    private String soundNo;

    /**
     * 皮肤编号
     */
    private String skinNo;

    /**
     * 状态 1：有效 0：无效
     */
    private String status;

    /**
     * 创建时间
     */
    private Date createdDate;

    /**
     * 更新时间
     */
    private Date updatedDate;

    private static final long serialVersionUID = 1L;

    public String getSkinSoundNo() {
        return skinSoundNo;
    }

    public void setSkinSoundNo(String skinSoundNo) {
        this.skinSoundNo = skinSoundNo;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getSoundNo() {
        return soundNo;
    }

    public void setSoundNo(String soundNo) {
        this.soundNo = soundNo;
    }

    public String getSkinNo() {
        return skinNo;
    }

    public void setSkinNo(String skinNo) {
        this.skinNo = skinNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CalcuSkinSound other = (CalcuSkinSound) that;
        return (this.getSkinSoundNo() == null ? other.getSkinSoundNo() == null : this.getSkinSoundNo().equals(other.getSkinSoundNo()))
            && (this.getUserNo() == null ? other.getUserNo() == null : this.getUserNo().equals(other.getUserNo()))
            && (this.getSoundNo() == null ? other.getSoundNo() == null : this.getSoundNo().equals(other.getSoundNo()))
            && (this.getSkinNo() == null ? other.getSkinNo() == null : this.getSkinNo().equals(other.getSkinNo()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getCreatedDate() == null ? other.getCreatedDate() == null : this.getCreatedDate().equals(other.getCreatedDate()))
            && (this.getUpdatedDate() == null ? other.getUpdatedDate() == null : this.getUpdatedDate().equals(other.getUpdatedDate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSkinSoundNo() == null) ? 0 : getSkinSoundNo().hashCode());
        result = prime * result + ((getUserNo() == null) ? 0 : getUserNo().hashCode());
        result = prime * result + ((getSoundNo() == null) ? 0 : getSoundNo().hashCode());
        result = prime * result + ((getSkinNo() == null) ? 0 : getSkinNo().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getCreatedDate() == null) ? 0 : getCreatedDate().hashCode());
        result = prime * result + ((getUpdatedDate() == null) ? 0 : getUpdatedDate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", skinSoundNo=").append(skinSoundNo);
        sb.append(", userNo=").append(userNo);
        sb.append(", soundNo=").append(soundNo);
        sb.append(", skinNo=").append(skinNo);
        sb.append(", status=").append(status);
        sb.append(", createdDate=").append(createdDate);
        sb.append(", updatedDate=").append(updatedDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}